import { getAction, deleteAction, putAction, postAction, postParamsAction, httpAction } from '@/api/manage'
import Vue from 'vue'
import { UI_CACHE_DB_DICT_DATA } from '@/store/mutation-types'

//根据ID查询
const queryById = (params) => getAction('/zcgl/customerInfo/queryById', params)
//根据ID查询
const updateCustomerBalance = (params) => putAction('/zcgl/customerBalance/edit', params)
//根据ID查询
const updateCustomerPrestore = (params) => putAction('/zcgl/customerBalance/prestore', params)
//查询用户余额
const queryCustomerBalance = (params) => postAction('/zcgl/customerBalance/selectByCustomerIdAndLeaseContractId', params)

export {
  queryById,
  queryCustomerBalance,
  updateCustomerPrestore,
  updateCustomerBalance
}



